package com.example.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@TableName("t_book")
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "book_id", type = IdType.AUTO)
      private Integer bookId;

    private String isbn;

    private String bookNum;

    private String bookname;

    private String pub;

    private String pubDate;

    private String author;

    private String launchTime;

    private Double price;

    private Integer classId;

    private Integer bookState;

    private String bookIntroduction;

    private String bookPicture;

    public Integer getBookId() {
        return bookId;
    }

      public void setBookId(Integer bookId) {
          this.bookId = bookId;
      }
    
    public String getIsbn() {
        return isbn;
    }

      public void setIsbn(String isbn) {
          this.isbn = isbn;
      }
    
    public String getBookNum() {
        return bookNum;
    }

      public void setBookNum(String bookNum) {
          this.bookNum = bookNum;
      }
    
    public String getBookname() {
        return bookname;
    }

      public void setBookname(String bookname) {
          this.bookname = bookname;
      }
    
    public String getPub() {
        return pub;
    }

      public void setPub(String pub) {
          this.pub = pub;
      }
    
    public String getPubDate() {
        return pubDate;
    }

      public void setPubDate(String pubDate) {
          this.pubDate = pubDate;
      }
    
    public String getAuthor() {
        return author;
    }

      public void setAuthor(String author) {
          this.author = author;
      }
    
    public String getLaunchTime() {
        return launchTime;
    }

      public void setLaunchTime(String launchTime) {
          this.launchTime = launchTime;
      }
    
    public Double getPrice() {
        return price;
    }

      public void setPrice(Double price) {
          this.price = price;
      }
    
    public Integer getClassId() {
        return classId;
    }

      public void setClassId(Integer classId) {
          this.classId = classId;
      }
    
    public Integer getBookState() {
        return bookState;
    }

      public void setBookState(Integer bookState) {
          this.bookState = bookState;
      }
    
    public String getBookIntroduction() {
        return bookIntroduction;
    }

      public void setBookIntroduction(String bookIntroduction) {
          this.bookIntroduction = bookIntroduction;
      }
    public String getBookPicture() {
        return bookPicture;
    }

    public void setBookPicture(String bookPicture) {
        this.bookPicture = bookPicture;
    }

    @Override
    public String toString() {
        return "Book{" +
              "bookId=" + bookId +
                  ", isbn=" + isbn +
                  ", bookNum=" + bookNum +
                  ", bookname=" + bookname +
                  ", pub=" + pub +
                  ", pubDate=" + pubDate +
                  ", author=" + author +
                  ", launchTime=" + launchTime +
                  ", price=" + price +
                  ", classId=" + classId +
                  ", bookState=" + bookState +
                  ", bookIntroduction=" + bookIntroduction +
                  ", bookPicture=" + bookPicture +
              "}";
    }
}
